package com.dy.drp.service;

import com.dy.drp.dto.BuyinfoDto;
import com.dy.drp.entity.Buyinfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dy.drp.util.PageUtil;
import com.dy.drp.util.SelectUtil;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dy
 * @since 2022-04-02
 */
public interface IBuyinfoService extends IService<Buyinfo> {
    boolean insertIntoFactory(String providerName,String buyPerson);

    PageUtil<BuyinfoDto> selectOnePageBuyinfo(PageUtil<BuyinfoDto> pageUtil);

    PageUtil<BuyinfoDto> selectOnePageBuyinfoByInfo(SelectUtil selectUtil);

    BuyinfoDto selectOneBuyById(Long buyId);
}
